package com.trip.wechat.platform.model.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
import com.trip.wechat.platform.model.BaseResultBO;

/**
 * 功能说明: <br>
 * 系统说明: <br>
 * 模块说明: <br>
 * 功能描述: <br>
 */
public class UserListResultBO extends BaseResultBO {

    @JsonProperty(value = "total")
    private Integer total;
    @JsonProperty(value = "count")
    private Integer count;
    @JsonProperty(value = "data")
    private UserList data;
    @JsonProperty(value = "next_openid")
    private String nextId;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public UserList getData() {
        return data;
    }

    public void setData(UserList data) {
        this.data = data;
    }

    public String getNextId() {
        return nextId;
    }

    public void setNextId(String nextId) {
        this.nextId = nextId;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("result", super.toString())
                .add("total", total)
                .add("count", count)
                .add("data", data)
                .add("nextId", nextId)
                .toString();
    }
}
